import { Pipe, PipeTransform } from '@angular/core'


@Pipe({
  name: 'bcoin'
})
export class Bcoin implements PipeTransform {
  	transform(value: string, ...args): string {
	    if(value == '0') 
	      	return 'BTC';
	    if(value == '1')
	     	return 'ETH'
	    if(value == '2')
	      	return 'LTC'
  	}
}

